home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 2 / Meeting Pearls Vol. II (1995)(GTI - Schatztruhe)[!].iso / Pearls / gfx / pbm / doc / manual.updates < prev    next >
Text File  |  1995-01-23  |  2KB  |  47 lines

  1. A few things that are not mentioned in the manual pages:
  2.  
  3. ppmhist has a new option "-map", this causes the histogram
  4.     to be printed in PPM P3 format, suitable to be used as a
  5.     colormap for ppmquant.
  6.  
  7. pnmcomp accepts a PBM mask file instead of PGM alpha map with
  8.     the -mask option.  A value of PBM_WHITE in the mask means
  9.     a tranparent pixel, PBM_BLACK an opaque pixel.  This can
  10.     be reversed with the -inverse option.  The outfile has been
  11.     remove from the args list, it now writes always to stdout.
  12.  
  13. pnmscale accepts a few more options:
  14.     -maxxsize or -maxwidth
  15.     -maxysize or -maxheight
  16.         Scale width (height) to fit into the given size, but to not scale
  17.         if the width (height) is already smaller than this.
  18.     -minxsize or -minwidth
  19.     -minysize or -minheight
  20.         Same as above, but scales if the width (height) is smaller and does
  21.         not scale if it is already larger.
  22.     -maxxysize or -maxsize
  23.     -minxysize or -minsize
  24.         Same as above for both width and height, keeping aspect ratio.
  25.     Example:
  26.         pnmscale -maxsize 800 600 infile.ppm > outfile.ppm
  27.     Scales the infile to fit into 800x600 pixels, but does not scale if the
  28.     size of the image is already smaller than 800x600.
  29.  
  30. ppmchange now accepts any number of changes on the command line, and you can
  31.     also use a file containing the changes with the -file option.  The -other
  32.     option can be used to change any color that is _not_ in the changes list.
  33.  
  34.  
  35. The rexx directory contains AReXX-versions of the Unix shell-scripts anytopnm,
  36. pnmindex, pnmmargin and pnmsmooth.  Some of the scripts produce temporary
  37. files that can become quite large.  These files are generated in PBMTMP:, if
  38. this assignment does not exists it is assigned to T:.
  39. pnmindex has a few more options:
  40.     -qfast          use ppmqvga instead of ppmquant for quantization
  41.     -qonce          only quantize the final image, not every intermediate file
  42.     -font <font>    passed to pbmtext
  43.     -filter <f>     run the files through this filter first
  44.     -printsizes     print image sizes under the file names
  45.     -nopath         do not print the path in the file names
  46.  
  47.